package com.blb.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author lvtian
 * @date 2023/1/4 19:04
 */
@TableName("w_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String addressShen;
    private String addressShi;
    private String addressQu;

    public Address(Integer id, String addressShen, String addressShi, String addressQu) {
        this.id = id;
        this.addressShen = addressShen;
        this.addressShi = addressShi;
        this.addressQu = addressQu;
    }

    public Address() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddressShen() {
        return addressShen;
    }

    public void setAddressShen(String addressShen) {
        this.addressShen = addressShen;
    }

    public String getAddressShi() {
        return addressShi;
    }

    public void setAddressShi(String addressShi) {
        this.addressShi = addressShi;
    }

    public String getAddressQu() {
        return addressQu;
    }

    public void setAddressQu(String addressQu) {
        this.addressQu = addressQu;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", addressShen='" + addressShen + '\'' +
                ", addressShi='" + addressShi + '\'' +
                ", addressQu='" + addressQu + '\'' +
                '}';
    }
}
